Integrand size = 20, antiderivative size = 62 \[ \int \frac {\sqrt [4]{1+x}}{\sqrt [4]{1-x} x^2} \, dx=-\frac {(1-x)^{3/4} \sqrt [4]{1+x}}{x}-\arctan \left (\frac {\sqrt [4]{1+x}}{\sqrt [4]{1-x}}\right )-\text {arctanh}\left (\frac {\sqrt [4]{1+x}}{\sqrt [4]{1-x}}\right ) \]
Time = 0.28 (sec) , antiderivative size = 63, normalized size of antiderivative = 1.02 \[ \int \frac {\sqrt [4]{1+x}}{\sqrt [4]{1-x} x^2} \, dx=-\frac {(1-x)^{3/4} \sqrt [4]{1+x}+x \arctan \left (\frac {\sqrt [4]{1+x}}{\sqrt [4]{1-x}}\right )+x \text {arctanh}\left (\frac {\sqrt [4]{1+x}}{\sqrt [4]{1-x}}\right )}{x} \]
-(((1 - x)^(3/4)*(1 + x)^(1/4) + x*ArcTan[(1 + x)^(1/4)/(1 - x)^(1/4)] + x *ArcTanh[(1 + x)^(1/4)/(1 - x)^(1/4)])/x)
Time = 0.17 (sec) , antiderivative size = 69, normalized size of antiderivative = 1.11, number of steps used = 6, number of rules used = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {105, 104, 756, 216, 219}
Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.
\(\displaystyle \int \frac {\sqrt [4]{x+1}}{\sqrt [4]{1-x} x^2} \, dx\) |
\(\Big \downarrow \) 105 |
\(\displaystyle \frac {1}{2} \int \frac {1}{\sqrt [4]{1-x} x (x+1)^{3/4}}dx-\frac {(1-x)^{3/4} \sqrt [4]{x+1}}{x}\) |
\(\Big \downarrow \) 104 |
\(\displaystyle 2 \int \frac {1}{\frac {x+1}{1-x}-1}d\frac {\sqrt [4]{x+1}}{\sqrt [4]{1-x}}-\frac {(1-x)^{3/4} \sqrt [4]{x+1}}{x}\) |
\(\Big \downarrow \) 756 |
\(\displaystyle 2 \left (-\frac {1}{2} \int \frac {1}{1-\frac {\sqrt {x+1}}{\sqrt {1-x}}}d\frac {\sqrt [4]{x+1}}{\sqrt [4]{1-x}}-\frac {1}{2} \int \frac {1}{\frac {\sqrt {x+1}}{\sqrt {1-x}}+1}d\frac {\sqrt [4]{x+1}}{\sqrt [4]{1-x}}\right )-\frac {(1-x)^{3/4} \sqrt [4]{x+1}}{x}\) |
\(\Big \downarrow \) 216 |
\(\displaystyle 2 \left (-\frac {1}{2} \int \frac {1}{1-\frac {\sqrt {x+1}}{\sqrt {1-x}}}d\frac {\sqrt [4]{x+1}}{\sqrt [4]{1-x}}-\frac {1}{2} \arctan \left (\frac {\sqrt [4]{x+1}}{\sqrt [4]{1-x}}\right )\right )-\frac {(1-x)^{3/4} \sqrt [4]{x+1}}{x}\) |
\(\Big \downarrow \) 219 |
\(\displaystyle 2 \left (-\frac {1}{2} \arctan \left (\frac {\sqrt [4]{x+1}}{\sqrt [4]{1-x}}\right )-\frac {1}{2} \text {arctanh}\left (\frac {\sqrt [4]{x+1}}{\sqrt [4]{1-x}}\right )\right )-\frac {(1-x)^{3/4} \sqrt [4]{x+1}}{x}\) |
-(((1 - x)^(3/4)*(1 + x)^(1/4))/x) + 2*(-1/2*ArcTan[(1 + x)^(1/4)/(1 - x)^ (1/4)] - ArcTanh[(1 + x)^(1/4)/(1 - x)^(1/4)]/2)
3.9.96.3.1 Defintions of rubi rules used
Int[(((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_))/((e_.) + (f_.)*(x _)), x_] :> With[{q = Denominator[m]}, Simp[q Subst[Int[x^(q*(m + 1) - 1) /(b*e - a*f - (d*e - c*f)*x^q), x], x, (a + b*x)^(1/q)/(c + d*x)^(1/q)], x] ] /; FreeQ[{a, b, c, d, e, f}, x] && EqQ[m + n + 1, 0] && RationalQ[n] && L tQ[-1, m, 0] && SimplerQ[a + b*x, c + d*x]
Int[((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_)*((e_.) + (f_.)*(x_) )^(p_), x_] :> Simp[(a + b*x)^(m + 1)*(c + d*x)^n*((e + f*x)^(p + 1)/((m + 1)*(b*e - a*f))), x] - Simp[n*((d*e - c*f)/((m + 1)*(b*e - a*f))) Int[(a + b*x)^(m + 1)*(c + d*x)^(n - 1)*(e + f*x)^p, x], x] /; FreeQ[{a, b, c, d, e, f, m, p}, x] && EqQ[m + n + p + 2, 0] && GtQ[n, 0] && (SumSimplerQ[m, 1] || !SumSimplerQ[p, 1]) && NeQ[m, -1]
Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1/(Rt[a, 2]*Rt[b, 2]))*A rcTan[Rt[b, 2]*(x/Rt[a, 2])], x] /; FreeQ[{a, b}, x] && PosQ[a/b] && (GtQ[a , 0] || GtQ[b, 0])
Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1/(Rt[a, 2]*Rt[-b, 2]))* ArcTanh[Rt[-b, 2]*(x/Rt[a, 2])], x] /; FreeQ[{a, b}, x] && NegQ[a/b] && (Gt Q[a, 0] || LtQ[b, 0])
Int[((a_) + (b_.)*(x_)^4)^(-1), x_Symbol] :> With[{r = Numerator[Rt[-a/b, 2 ]], s = Denominator[Rt[-a/b, 2]]}, Simp[r/(2*a) Int[1/(r - s*x^2), x], x] + Simp[r/(2*a) Int[1/(r + s*x^2), x], x]] /; FreeQ[{a, b}, x] && !GtQ[a /b, 0]
Result contains higher order function than in optimal. Order 9 vs. order 3.
Time = 1.14 (sec) , antiderivative size = 383, normalized size of antiderivative = 6.18
method | result | size |
risch | \(\frac {\left (-1+x \right ) \left (1+x \right )^{\frac {1}{4}} \left (\left (1-x \right ) \left (1+x \right )^{3}\right )^{\frac {1}{4}}}{x \left (-\left (-1+x \right ) \left (1+x \right )^{3}\right )^{\frac {1}{4}} \left (1-x \right )^{\frac {1}{4}}}+\frac {\left (\frac {\ln \left (\frac {\left (-x^{4}-2 x^{3}+2 x +1\right )^{\frac {3}{4}}-\sqrt {-x^{4}-2 x^{3}+2 x +1}\, x +\left (-x^{4}-2 x^{3}+2 x +1\right )^{\frac {1}{4}} x^{2}-\sqrt {-x^{4}-2 x^{3}+2 x +1}+2 \left (-x^{4}-2 x^{3}+2 x +1\right )^{\frac {1}{4}} x -x^{2}+\left (-x^{4}-2 x^{3}+2 x +1\right )^{\frac {1}{4}}-2 x -1}{x \left (1+x \right )^{2}}\right )}{2}+\frac {\operatorname {RootOf}\left (\textit {\_Z}^{2}+1\right ) \ln \left (\frac {\operatorname {RootOf}\left (\textit {\_Z}^{2}+1\right ) \sqrt {-x^{4}-2 x^{3}+2 x +1}\, x +\operatorname {RootOf}\left (\textit {\_Z}^{2}+1\right ) \sqrt {-x^{4}-2 x^{3}+2 x +1}-\operatorname {RootOf}\left (\textit {\_Z}^{2}+1\right ) x^{2}+\left (-x^{4}-2 x^{3}+2 x +1\right )^{\frac {3}{4}}-\left (-x^{4}-2 x^{3}+2 x +1\right )^{\frac {1}{4}} x^{2}-2 \operatorname {RootOf}\left (\textit {\_Z}^{2}+1\right ) x -2 \left (-x^{4}-2 x^{3}+2 x +1\right )^{\frac {1}{4}} x -\operatorname {RootOf}\left (\textit {\_Z}^{2}+1\right )-\left (-x^{4}-2 x^{3}+2 x +1\right )^{\frac {1}{4}}}{x \left (1+x \right )^{2}}\right )}{2}\right ) \left (\left (1-x \right ) \left (1+x \right )^{3}\right )^{\frac {1}{4}}}{\left (1+x \right )^{\frac {3}{4}} \left (1-x \right )^{\frac {1}{4}}}\) | \(383\) |
(-1+x)*(1+x)^(1/4)/x/(-(-1+x)*(1+x)^3)^(1/4)*((1-x)*(1+x)^3)^(1/4)/(1-x)^( 1/4)+(1/2*ln(((-x^4-2*x^3+2*x+1)^(3/4)-(-x^4-2*x^3+2*x+1)^(1/2)*x+(-x^4-2* x^3+2*x+1)^(1/4)*x^2-(-x^4-2*x^3+2*x+1)^(1/2)+2*(-x^4-2*x^3+2*x+1)^(1/4)*x -x^2+(-x^4-2*x^3+2*x+1)^(1/4)-2*x-1)/x/(1+x)^2)+1/2*RootOf(_Z^2+1)*ln((Roo tOf(_Z^2+1)*(-x^4-2*x^3+2*x+1)^(1/2)*x+RootOf(_Z^2+1)*(-x^4-2*x^3+2*x+1)^( 1/2)-RootOf(_Z^2+1)*x^2+(-x^4-2*x^3+2*x+1)^(3/4)-(-x^4-2*x^3+2*x+1)^(1/4)* x^2-2*RootOf(_Z^2+1)*x-2*(-x^4-2*x^3+2*x+1)^(1/4)*x-RootOf(_Z^2+1)-(-x^4-2 *x^3+2*x+1)^(1/4))/x/(1+x)^2))/(1+x)^(3/4)*((1-x)*(1+x)^3)^(1/4)/(1-x)^(1/ 4)
Time = 0.23 (sec) , antiderivative size = 95, normalized size of antiderivative = 1.53 \[ \int \frac {\sqrt [4]{1+x}}{\sqrt [4]{1-x} x^2} \, dx=\frac {2 \, x \arctan \left (\frac {{\left (x + 1\right )}^{\frac {1}{4}} {\left (-x + 1\right )}^{\frac {3}{4}}}{x - 1}\right ) + x \log \left (\frac {x + {\left (x + 1\right )}^{\frac {1}{4}} {\left (-x + 1\right )}^{\frac {3}{4}} - 1}{x - 1}\right ) - x \log \left (-\frac {x - {\left (x + 1\right )}^{\frac {1}{4}} {\left (-x + 1\right )}^{\frac {3}{4}} - 1}{x - 1}\right ) - 2 \, {\left (x + 1\right )}^{\frac {1}{4}} {\left (-x + 1\right )}^{\frac {3}{4}}}{2 \, x} \]
1/2*(2*x*arctan((x + 1)^(1/4)*(-x + 1)^(3/4)/(x - 1)) + x*log((x + (x + 1) ^(1/4)*(-x + 1)^(3/4) - 1)/(x - 1)) - x*log(-(x - (x + 1)^(1/4)*(-x + 1)^( 3/4) - 1)/(x - 1)) - 2*(x + 1)^(1/4)*(-x + 1)^(3/4))/x
\[ \int \frac {\sqrt [4]{1+x}}{\sqrt [4]{1-x} x^2} \, dx=\int \frac {\sqrt [4]{x + 1}}{x^{2} \sqrt [4]{1 - x}}\, dx \]
\[ \int \frac {\sqrt [4]{1+x}}{\sqrt [4]{1-x} x^2} \, dx=\int { \frac {{\left (x + 1\right )}^{\frac {1}{4}}}{x^{2} {\left (-x + 1\right )}^{\frac {1}{4}}} \,d x } \]
\[ \int \frac {\sqrt [4]{1+x}}{\sqrt [4]{1-x} x^2} \, dx=\int { \frac {{\left (x + 1\right )}^{\frac {1}{4}}}{x^{2} {\left (-x + 1\right )}^{\frac {1}{4}}} \,d x } \]
Timed out. \[ \int \frac {\sqrt [4]{1+x}}{\sqrt [4]{1-x} x^2} \, dx=\int \frac {{\left (x+1\right )}^{1/4}}{x^2\,{\left (1-x\right )}^{1/4}} \,d x \]